package model

type PickAddr struct {
	AddrId     uint   `gorm:"primary_key;AUTO_INCREMENT;comment:ID" json:"addrId"`           //ID
	AddrName   string `gorm:"type:VARCHAR(36);comment:自提点名称" json:"addrName"` //自提点名称
	Addr       string `gorm:"type:VARCHAR(1000);comment:地址" json:"addr"`      //地址
	Mobile     string `gorm:"type:VARCHAR(20);comment:手机" json:"mobile"`      //手机
	ProvinceId uint   `gorm:"type:bigint;comment:省份ID" json:"provinceId"`     //省份ID
	Province   string `gorm:"type:VARCHAR(32);comment:省份" json:"province"`    //省份
	CityId     uint   `gorm:"type:bigint;comment:城市ID" json:"cityId"`         //城市ID
	City       string `gorm:"type:VARCHAR(32);comment:城市" json:"city"`        //城市
	AreaId     uint   `gorm:"type:bigint;comment:县ID" json:"areaId"`          //县ID
	Area       string `gorm:"type:VARCHAR(32);comment:区/县" json:"area"`       //区
	ShopId     uint   `gorm:"type:bigint;not null;comment:店铺ID" json:"-"`     //店铺id
}
